import request from "@/utils/request";

export function getMyFollowListAPI(params) {
  return request({
    url: "/user/getMyFollow",
    method: "GET",
    params,
  });
}

export function addMyFollowAPI(id) {
  return request({
    url: "/user/addMyFollow/"+id,
    method: "POST",
  });
}

export function deleteMyFollowAPI(id) {
  return request({
    url: "/user/deleteMyFollow/"+id,
    method: "DELETE",
  });
}

export function findFollowAPI(authorID) {
  return request({
    url: "/user/findFollow/"+authorID,
    method: "GET",
  });
}